#pragma once

#include "core.h"
#include <string>

class Texture {
public:
    Texture(const std::string &path, unsigned int unit);

    ~Texture();

    void bind() const;

    int getWidth() const { return mWidth; }

    int getHeight() const { return mHeight; }

private:
    GLuint mTexture{0};
    int mWidth{0};
    int mHeight{0};
    unsigned int mUnit{0};
};